MailPoet\Segments\WP S

Total Complexity 48
Dependencies 20
Dependents 8
Total lines 319
Lines of code 237
Logical lines of code 120
Comment lines 43
Methods 13
Properties 4

Methods 13

Method Rating Maintainability Complexity Lines of code
createOrUpdateSubscriber()
C
34 29 83
insertSubscribers()
S
49 4 34
synchronizeUser()
S
61 3 12
removeUpdatedSubscribersWithInvalidEmail()
S
60 2 13
deleteSubscriber()
S
71 2 6
updateSubscribersEmails()
S
59 1 15
synchronizeUsers()
S
61 1 13
updateFirstNames()
S
64 1 12
updateLastNames()
S
64 1 12
updateFirstNameIfMissing()
S
65 1 11
__construct()
S
71 1 6
insertUsersToSegment()
S
65 1 10
removeOrphanedSubscribers()
S
63 1 10